package com.cuit.dashboard.system.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cuit.dashboard.system.entity.SysAdminTokenEntity;
import org.apache.ibatis.annotations.Mapper;

/**
 * @program: hulu-dashboard
 * @description: 管理员持久层
 * @author: KamTang
 * @create: 2022-06-08 17:25
 **/
public interface SysAdminTokenDao extends BaseMapper<SysAdminTokenEntity> {
    /**
     * 根据token获取整个token实体类
     * @param token
     * @return
     */
    SysAdminTokenEntity queryByToken(String token);
}
